package QL;

import java.util.Map;

public class ButlerAgentQuerySubUsersContributionLogRequest implements IQLRequest
{
    /// <summary>
    /// 区服Id
    /// </summary>
    public long ZoneId;

    /// <summary>
    /// 玩家Id
    /// </summary>
    public long UserId;

    /// <summary>
    /// 查询贡献的玩家Id，0代表查询该代理下所有玩家的贡献日志
    /// </summary>
    public long SubUserId;

    /// <summary>
    /// 第几页？
    /// </summary>
    public long PageIndex;

    /// <summary>
    /// 每页多少条纪录？
    /// </summary>
    public long PageCount;

    @Override
    public String GetApiName()
    {
        return "butler.agent.query.sub.users.contribution.log";
    }

    @Override
    public void Validate()
    {
    }

    @Override
    public void AddParameters(Map<String, String> map)
    {
        map.put("zone_id", String.valueOf(ZoneId));
        map.put("user_id", String.valueOf(UserId));
        map.put("sub_user_id", String.valueOf(SubUserId));
        map.put("page_index", String.valueOf(PageIndex));
        map.put("page_count", String.valueOf(PageCount));
    }
}
